package net.jforum.view.forum.common;
/**
 * @ author  张洋 jackson.zhang@ericsson.com
 * @ version 创建时间 ：Aug 21, 2010  11:30:25 PM
 * @ description : 
 */
public class MultiUploadThread extends Thread{
	private String path;
	private UploadUtils uploadUtil;

	public UploadUtils getUploadUtil() {
		return uploadUtil;
	}

	public void setUploadUtil(UploadUtils uploadUtil) {
		this.uploadUtil = uploadUtil;
	}
 
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}


	public void run(){
		try {
			Thread.sleep(1000);
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		this.getUploadUtil().saveUploadedFile(this.getPath()); 
	}
	
}
